load all masters before export (fixes #219)