register action and bugfix