check for bag path