add missing spaces into function declarations