fix ads controller issue when editing an existing ad