bug finding LoadEngine function