label configuration and caption handling working