Bug fixed. Change all static method to object method