fixed syntax error
fixed function name