I messed up the toplevel handlers :(