fix a bug: syntax error for if/else