Fix define snippet