Fixed errors

jw