added method to replace non canonical uri