fixes to castbar