Fixed bug that disabled running multiple handlers