make the attributes dock works