#138 add spacing for detecting text