fixes to work with jenkins