fix the z-index bug