fixed errors components