handling long function names in the function panel