fixed collision flip