add not found middleware