Fix www redirect issue