fixing assert