fixed todo creation error