fix add zero to remove frames