take out error log statements