replacing 'null' with 'X' for empty spot