devcode backup

fixed some selection things