Solved issue with curves and their origin