fix coercions in bitcast