remove psudo error handling