Fixed strict error in frontend