fix delete for advertisements page