added imports validation feature, resolve #216