Removed the globalpalwritten global