cleanup erorrs