-1 frame number fix