make render method input uniform and complete