Fixed Code editor data type bug