Fixed deleting issues and slider not working as expected