attempt to fix assignment of pointer directl