Removed generated files, fixed bug