tweaks and sign flip