Corrected procedure msg send