fix bug with dropped frames