small fix regarding validation