fixed problem only working under ruby 2
push of message working now