fixed pathauto bug