homebin: remove clutter of global variables