fix avenger roof.
fix for confusion over distance funciton.