fixed the nag controller