changeed format to account for extra chracters