fixes interfaces and typo