app: fix usage of frozen string & remove trailing slash.