improve footpath code