Trying to fix carousel bug