fixed a few offsets for the flip