remove error logging statement