clean up debugging mess, moved the initialization to post init to prevent NPE's