fixin error callback