fix webstorm warnings