fixed part of the init problem