corrected some bean issues