bug fixes (cflags)