add hack for magic_quotes