Remove code on render method