bug fix for homepage load.