Removed redundany glob code