fixed issue with url pattern which was not strict enough