add case result and fix some bug