add ratio to bind event