fixing user confirmation