fix frame line-end