Just for an error appearing in my hook handler