fix for jar compilation