fix instance properties initialization. Move to init function to prevent
class property behaviour.