finally solved proper removal of hydrides and protons!