fix syntax issues with calling render views