fixed problem with beans