updated the file and fixed the error