fixed deprecated moment call