memory leak problem fixed now