issue 12: curves were not set correctly