fix validation when resolve with arguments