fixed bug with unknot