small change to ignore space at the beginning