Had another bug, small fix