switch for turning on debug
fix missing posts stuff