[Fix] fix pointer not return value

fix pointer bug