sending number instead of boolean