fixed a bug where views were not being found