fixed 2 notices.