fixing trait conversion issues