Fix location warning.