fix compiler issue