added error display
cleanup
always allow empty for relations