bug correction and parameters centralisation

centralisation of parameters in db and bug correction in annonce entity