Fixes bug which would silence err msg