Fixed a bug for Bart