fix sql space error
add check in/out notification interface