some small bugfixes for casefans