fixes for running under jenkins