fix pos incorrect bug