replace fixed class with self