changed initialization of bean class to false at deploy time