remove space
add signaling error
remove unused code
add jitter method