Removing leftover files and fixing an error with loading deafault attributes