fixes inccorect ending matches
correct number rect placement