changed function behaviour
escape bug: unexpected