error checking...error still persists