Fixed momment deprication warning issue