add missing function brackets

Add missing function brackets, this doesn’t affect any behaviors.