final bug fix in scaffold view hopefully