[fix] proper check so false is passed in