fix css learning phase