IF pass id as hash param , don't generate it