Added cleanup and fixed spelling mistake :)