close if else on spots_controller