fixed mutliple bugs, also in multidelay