only works with globstars... need to fix support for everything else