Fixed nasty failed bug