making the path checking a little less restrictive, for layer support