fixes bug where creating a posting sometimes caused an app crash