Fixed a previous commit that had completely corrupted the application