fixed broken admin, closes #391