correct error syntax