hint errors fixed