Add fix for magic number fix getting reversed