Fixed ui on startup issue closes #812