Controller was saving the boturl even though it was wrong