bugfix for * function