Removed unnecessary weights and errors