clear some typing issues