actual fix. protip: do not hard code a pointer var as 1