fixed hooks sintax.