fix `read` removing leading whitespace