change tile parsing

Doesn't work