Moved onject initialize to the place it should be.

Signed-off-by: UltimateGoDLikE <lohtonghong@hotmail.com>