add visible size in attributes