mose.log and cache are ignored
some minor improvements