Fixed bug with missing -> in presave function