Fixed some errors

Not much but some minor errors fixed!