bugfixes for rox build