removed qoutes form host_alias variable
 moved :host_alias => #{host_alias1}, to button
adding "" to string interpolation variable