fix suggested by Daniel