Fixed wrongly removed debug variables.