Remove long cast of stories_id, fix #19.