fixed engine to use correct views and styles