Fix preferences page