Fixed typo breaking curve()