remove statically allocated variables.