removed dead code
#77 fixed