Fix: Refinery dashboard crashing issue and homepage crashing issue