load command now correctly weeds out whitespace and throws errors for bad characters