improving sprite change system