Fix deprecated variable access warnings

This pull request fixes warnings like the following

    Warning: Variable access via 'ppa' is deprecated. Use '@ppa' instead. template[inline]:2
       (at (erb):2:in `result')