Error starting my emitter

I got this error : attempt to index local ‘EmitterParent’ (a nil value) which I haven’t encountered before using particle candy.

What this error about? I tested my code separately on main.lua and it works fine but when i place the particle code in my game.lua (which is a group by itself) then i started to get this error

help? [import]uid: 76697 topic_id: 35777 reply_id: 335777[/import]