small fix to pointer