Fixed dynamic date attribute bug
Added init approach