syntax fixes & deprecation warning for README