Fix sortable bug