fixed bug in live