Fix Notice compatible error