snl working as intended. fixed warnings in selects