fix the bug that was causing the ui to stop. Programmer was using a single = sign to equate two variables