bugfix pointer