fixed bug when setting was not available