Fixing various bugs with the GA