Fix default preferences bug