Fix error when making new listings