Fix origin case