fix width and overlay problem