need to fix edge selection