Fix bugs of simple-router