Fixed crash(we had removed the name preference, so it crashed.)