removed trailing whitespaces in snapc