fixes #28 , error after alter