- fixed a bug (Class cast)