Fix doing double POST