remove extra character causing warning