Fixes bad endblock detection when name is missing
Updates bad spacing detection