Update functions.php

Fixed duplicate error