for views use parent folder if no child folder