priority handling changed

write prioritized back to base key, null prio position changable