Fix resolving check in ui

Fixes #44