set condition when votes is nil in view