remove functionalaty that is not needed and produces errors