fix a couple of errors people where experiencing