improvement in attributes' datatype handling