better way to find tiledef entry