syntax error in elsif