fixed day positioning error