Bean name constructing bug fixed