Maybe this will fix the 500 errorq

Don't know why it was the way it was but this seems to be the way it should be...  Now to try it.