added stric/lax mode on attribute mappings, and more logs