only apply theme if it actually exists