fix breakage for when no handlers passed