fix a bug on click empty tile