fixed some fail code change :P