Fix an abvious bug but normally is rarley used