Fixed minor issues with syntax