tying to fix header:location failure