fixed bug with edit ad