fix frame's properties