corrected handler var