small adapt fix