Fix the api status