Fix preferences issue.