fix NullPointerException and its WORK