gradeful_stop settings

add @Nullable annotation