Minor changes

I thought it would be harder than "just" checking the checkbox, but it is apparently not :smile: 
There may be a more elegant way, though.
Also, I noticed an error in the console, so I fixed it.