Fixed Double Notice error