fixing debug flag and README