[fix] Class saving

Fixed bug causing some classes to fail to save without error
Version bump, 1.6.4