fixed bug with several equal signs in one string