Fixed bug signing in