i frames bug fix