capture IOError in b_K_i getter
adding command line armument checks