removing bug in boolean arg