fix studio adding bug