minor fix to protect priomise from being set twice. Seems like this is what was intended.