removed .only and fixed global leak problem