error x is not defined zero used