a bunch of small fixes, still trying to make robbing work