[FIX] Error caused by a boolean