Removed an error of instace creating.