Fixed an error in publishing listings