improve displayed attribute passing