Ensured no duplicate handlers happen