Fixed retrieving resources in jar