memory mgmt: fixed delete functions
double check
STFU SELECT