Help me to correct some leaks:)