add ratio to frametranslater