fix section mismatch warnings