add a Breakpoint on your sub and try to debug it.