bug fix and added ab overlay