fixing views directory usage