better indent detection