more accurate parsing

from / to are single values only. can't specify both.
fix parsing and intellisense

i'm rusty