Fixed magic_quotes issue