fixes a bug where the correct class was getting set but class_name wasn't, also fixes typo in setup script