parse() fixed

now it handles multiple values too