better detection of undefined parameters
valid center