SIPMain small fixes, small bug