fixed error caused by typo