fixing minor bug when using symbolPosition == right