fix for errors in function groups