fixed classcast exception?