fixed missing init function
fixed dependencies