Deleted some bad code

Signed-off-by: shawakaze <shawakaze@gmail.com>