fix bad name variable CCDirector