bug fixed: specified wrong pointer.