cleaning up view compiler and renderer