Fix two loops that always breaks since BREAK is always set to "true"