bugfix and anonymous type support on schema