remove error logging