fixed a bug where posts could not be made