ReplaceAttribute view improved