2.1.1 fixed seg fault encountered