Added magic quotes fix