Fixed edit and new Ad form problem