laid training framework, bugfixes