missed a bug, but now its fixed