fixed framecounter