fix tag properties