Bug fix : error if two entities on configuration