added handler mapping
resolved classcast exception