fixed npe bug when clickingon the first karateka