fixed notice-bug