huuu ugly bug into conditions for default values