fix mock resource bar