fixed wrong usage of instance