fix for class cast exception