applay ratio on init