fixed dbInitPosition