Fix variable types in tap delay