fix syntax as recommended by review