double init problem solved