fix bug that cannot create new story with attachments