fixed a weird bug where multi line validations sometimes didin't work