removed debug flag