fix to prevent overlapping image