Bugfix moduleclasses

better to get this included in v1.3