chart works ok now