wrong namesapce on getinstance func