fix homepage input range / translate square example