Fix problems with sb attribute