fix namespace problem. supports adding multiple instances to one scene