add sigmoid loss