use validation as package
fix validation