fix suggested by chandra