fixing some minor things