fixing arbitrary bug