fix initial position resolving