improved view constructor
fixed view::clone (attributes missing)
improved getAttribute-type guessing warning msg