Fix doesn't pick out a function if curly brace is in next line