Fixing bug in tagrecommendation: saving resource classification file after class detection