fix frame format