removed unused code [MJ-858]