fix create and find note routes