fixing errors found on jenkins