preliminary fix for bean deletion