trying to eliminate error messages in error log