bug fix: UserController#statement undefined method `to_sym` for nil:NilClass