fixed some frame bug
fixed some frame bug