fixed messy double check lock
fixed spelling