Looks like /notes/ and /all/ are ended with `/` so I have removed `?` here.