setting debug and json to false