lib: normalize attributes