Fixed errors in comment save script