add frontend check in all edit views