api err statuses fix;