free allocated vars