[FIX] fixed bug in c’tor