removing a typo 'g' at the end of the file'