fix issues of sdk 8.0