i solved it didn't close the ref