Small fixes in the attributes conversions