fix copybit errors