Fixed error where the application wouldn't start.