cleaned up errors