error message improvement. disable warnings in ios.