Fixed iOS bug - www.error is returned as empty but not null on iOS which was causing an error