Fix after_create to after_commit