FIX frontend compile error fix