fixed discard deploy setting