fix getting boolean from request for api