Syntax fixes for LoadChart
merge fix