Fix Location header

Fix #414