bugfix views with subdirectories