Fixes some syntax errors from previous commit