prevented empty frames from being pushed