throw error when cannot find static controller