Update these 2 files

Hello there!
I think that it would be good if you update these 2 files, since they have mistakes which will make them not to work correctly.
Thanks!