Fixed a james bug