Fix wrong param name and missing semicolon