Fixed wcf errors