fixed error I introduced in setuphandler