removing reduntant location fields