bug fix in starting frame