memory issue solved i think