pointer mistake correction