bugfix, setting boolean value false was saving nil