edit setting view causing null