slogdet check