bugfix on views directory linking