bug in formula