Funcion params added but double dealloc problem