fixed some left over compile errors from previous commits