made resource bar unused pieces update during initialization