add handling for global functions which causes signature to flick to #M#F