finish latyout and routes