styles gave error