Fix code style
Add signal for redirector