fixed bug with multivalues