fix behavior when there are no globs