Fix a bug in created