shouldve fixed bug with wrong selection