Fix read from jar issues