add dublicate blank fix from original repo