mount debugfs earlier
some cleanup