typos fixes, and remove the render method, which is in preview class now