fix the assertion due to PMA_IS_GD2 setting