Fix elastica config on entity