remove pointer ga_modZ, added one more if-else statement.