make sure all beans have ids