added edit fixing issue