fix nil in carousel