fix flip in chrome