Syntax fix for newer ruby