Fixed annoying bug, which caused to show errors in webstorm.

Fixed annoying bug, which caused to show errors in webstorm.