changed code in edit comment for location