fix incorrect defintion of tileError