finalize hardware echo, fix bugs