fixing bug

used incorrect pos-bos function