Fixed statichome problem