correct fundamental bug in implementation and add fake attribute