fix 2 error logs

keeping the error log clean