remove nil issue