Fixed before hook