repaired syntax error in input form