fix name statement error