remove two variables in horizon.pp