setup to work when ui is missing