bug roung in C port