Fix to send inquery message correctly