I used Generated coordinate instead and used Cube Projection so the wood grain would look more natural.