fix carousel image bug