fix the bug that app crash

Using the method that new object to instead of create object in order to not release object automatically.