Fixed for 0.13 syntax changes

Single line fixes for changes in 0.13 syntax