fixed earlier mistake