added temporary cast for eclipse beta_java8 (to be removed)