shit for max to fix