sync css classes. fixes #834