correct coding format errors