fixing putRoute