Fixes the initialization