subscribe before init