- fixed problems found in https://www.tecparts.com
- workaround for ClassCastException in super dev mode