really fixed the reversal problem this time