fixed the annoying compiler warnings associated with printing pointers