Fix bug on assembly validation