removed useless code, refs #841