Fix wrong variable name of handler