returning error callbacks