fixed views alter hook