fixed bug with unlock time