fixed maintenance page error (fixes #28)