Fix creation of default preferences