fixing several bugs of the ga and improving its presentation