bug fix scaffold routes