fix calling via jar file