minor fixes from lgtm-com tests

20 jobs for newui in 1 minute and 51 seconds (queued for 7 seconds)
latest