Fixed a bug that happens because a post variable wasn't named correctly