Fixed id parsing, removed debug.