Fix log creating position