removed debug mode