removed old check for '#'

no longer required because UriBuilder is no longer in use