found a bug, fixed it