fixed edit function and review show page