fix widget not referring to the right css class