fixed double location header problem