DECUPAS-15 correct hook implementation