I have found the problem, so simply, but now works well, will post library when I know where to post it.