fixing shield bar bug