fix to set statu s only on click