fixes so the app renders correctly