fixed white page of death in frontend