reverted sql encoding value