render was in there twice