fixed an error with semicolon