Fixed invalid pointer use.