errors now are handled at the correct position