cleaning code/removed ln dialog