fixed the error in the manage ad