added casting methods
improved pushback reader
fixed warnings and deactivated polymorphic declarations