a missing backslash, and a correction to init

set default device to zero in init as well