detect multiple space bewteen function and its name