fix bug missing function capitalize