fixed sparks issue