fix bug of prime?