It should be moved outside this method in order not to consume more memory creating this new object cleanStyles several times