fixed route drawing problem