Removing some unneccessary error messages