Fixing cockflags