Fixes a bug where empty type fucks up