fix bug freq shape