Fix literal NULL and frequencies directory