Fix display notices
Use correct action hook