temporary fix, attribute overwrite acting weird