time protect bug fixing