cleanup of declared variables