fixes the code to only return correct numbers