Fix for glob method