remove some local debug variables