prevented possible error
correctly format compare
prevent error
added missing default widget values