fixed error handling of ak8975c