fixing initializtion