Fixed Error problem stopping program from working.