inappropriate check for null decoder