restrict motion
[typo] fix motion
add logging in server