add always_hidden hook