fixed up component errors