Fixed preference error.