add safeguard in case if we didn"t pass custom