status code fix for create