missed semicolon in api.php