add guard for nullpointer
rebuild jar