fixed a small issue

that kinda broke the app. I should really test before committing