remove specific header code
save location in cookies