fixes post creation to save UID