fixed script error on empty comments