make pointer conversion work