fixed a few lines based on pragtobs comments