fixed #2. Thanks ilvalle