fixing issues

messed up with formula