make Primer usable

Anyone try Primer lately? It crashes like crazy. This fixes it.

Thanks to @iaj for pointing it out.