solving errors fixed.