fix layout long uris