fixed bug causing draft content to get lost