bugfix: purge before loading