add support for multiple handlers
fix to typo