bug allocation