fix with getExtension method and some interfaces implementations fixes