replace trim with str_replace
change cookie domain