Fix views directory pass resolve