fixes behavior