Fixed error on @ operator but results still incorrect