Fixed error callbacks