fixed prevent removing last artwork and fixed few bugs