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