synax error in frontend fixed