fixed bar descriptors to work for every build configuration