fixed init d