compiles properly now

I had some trouble compiling this for 0.11.13. this PR will address those errors

cheers