Fixed some errors and added frontend check in research