fixing some str errors