Tiny fix in fp-api.php