improved chart adding interface - but error still prevails.