warning fix in green nag service