fix removeauxfiles code