bugfix: classcastexception