fixing homepage error