Error displaying in createAd and editAd styled