fix pos offset