bugfixes in frontend