Fixed a problem with custom values