Fix awfully stupid bug