Fix Bug in: 1. Has-and-belongs-to-many 2. Inheritance 3. Resource Build.